home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gimp / 2.0 / help / en / standalone-script-fu.html < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-03  |  10.0 KB  |  263 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>2.5.¬† Standalone Scripts</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
  10.     <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
  11.     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
  12.     <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
  13.     <link rel="up" href="gimp-concepts-script-fu.html" title="2.¬† Using Script-Fu Scripts" />
  14.     <link rel="prev" href="ch12s02s04.html" title="2.4.¬† Different Kinds Of Script-Fus" />
  15.     <link rel="next" href="ch12s02s06.html" title="2.6.¬† Image-Dependent Scripts" />
  16.   </head>
  17.   <body>
  18.     <div class="navheader">
  19.       <table width="100%" summary="Navigation header">
  20.         <tr>
  21.           <th colspan="3" align="center">2.5.¬†
  22.       <span lang="en" xml:lang="en">Standalone Scripts</span>
  23.     </th>
  24.         </tr>
  25.         <tr>
  26.           <td width="20%" align="left"><a accesskey="p" href="ch12s02s04.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  27.           <th width="60%" align="center">2.¬†
  28.     <span lang="en" xml:lang="en">Using Script-Fu Scripts</span>
  29.   </th>
  30.           <td width="20%" align="right">¬†<a accesskey="n" href="ch12s02s06.html"><img src="../images/next.png" alt="Next" /></a></td>
  31.         </tr>
  32.       </table>
  33.       <hr />
  34.     </div>
  35.     <div class="sect2" lang="en" xml:lang="en">
  36.       <div class="titlepage">
  37.         <div>
  38.           <div>
  39.             <h3 class="title"><a id="standalone-script-fu"></a>2.5.¬†
  40.       <span lang="en" xml:lang="en">Standalone Scripts</span>
  41.     </h3>
  42.           </div>
  43.         </div>
  44.       </div>
  45.       <a id="id2615879" class="indexterm"></a>
  46.       <a id="id2615893" class="indexterm"></a>
  47.       <p>
  48.       We will not try to describe every script in depth. Most Script-Fus are
  49.       very easy to understand and use. At the time of this writing, the
  50.       following types are installed by default:
  51.     </p>
  52.       <div class="itemizedlist">
  53.         <ul type="disc">
  54.           <li>
  55.             <p>Patterns</p>
  56.           </li>
  57.           <li>
  58.             <p>Web page themes</p>
  59.           </li>
  60.           <li>
  61.             <p>Logos</p>
  62.           </li>
  63.           <li>
  64.             <p>Buttons</p>
  65.           </li>
  66.           <li>
  67.             <p>Misc.</p>
  68.           </li>
  69.         </ul>
  70.       </div>
  71.       <div class="variablelist">
  72.         <dl>
  73.           <dt>
  74.             <span class="term">Patterns</span>
  75.           </dt>
  76.           <dd>
  77.             <p>
  78.             You will find all kinds of pattern-generating scripts here.
  79.             Generally, they are quite useful because you can add many
  80.             arguments to your own patterns.
  81.           </p>
  82.             <p>
  83.             We'll take a look at the Land script. In this script you have to
  84.             set the image/pattern size, and specify what levels of random to
  85.             use for your land creation. The colors used to generate the land
  86.             map are taken from the currently selected gradient in the gradient
  87.             editor. You must also supply values for the level of detail, land
  88.             and sea height/depth and the scale. Scale refers to the scale of
  89.             your map, just as in an ordinary road map, 1:10 will be typed as
  90.             10.
  91.           </p>
  92.           </dd>
  93.           <dt>
  94.             <span class="term">Web Page Themes</span>
  95.           </dt>
  96.           <dd>
  97.             <p>
  98.             Here is clearly a practical use for scripts. By creating a script
  99.             for making custom text, logos, buttons arrows, etc., for your web
  100.             site, you will give them all the same style and shape. You will
  101.             also be saving a lot of time, because you don't have to create
  102.             every logo, text or button by hand.
  103.           </p>
  104.             <p>
  105.             You will find the GIMP.org theme under the Web page theme submenu.
  106.             If you want to create your own theme, this script will serve as an
  107.             excellent template that you can modify to create a theme for your
  108.             web site.
  109.           </p>
  110.             <p>
  111.             Most of the scripts are quite self-explanatory, but here are some
  112.             hints:
  113.           </p>
  114.             <div class="itemizedlist">
  115.               <ul type="disc">
  116.                 <li>
  117.                   <p>
  118.                 Leave all strange characters like ' and " intact.
  119.               </p>
  120.                 </li>
  121.                 <li>
  122.                   <p>
  123.                 Make sure that the pattern specified in the script exists.
  124.               </p>
  125.                 </li>
  126.                 <li>
  127.                   <p>
  128.                 Padding refers to the amount of space around your text.
  129.               </p>
  130.                 </li>
  131.                 <li>
  132.                   <p>
  133.                 A high value for bevel width gives the illusion of a higher
  134.                 button.
  135.               </p>
  136.                 </li>
  137.                 <li>
  138.                   <p>
  139.                 If you type TRUE for "Press", the button will look pushed
  140.                 down.
  141.               </p>
  142.                 </li>
  143.                 <li>
  144.                   <p>
  145.                 Choose transparency if you don't want a solid background. If
  146.                 you choose a solid background, make sure it is the same color
  147.                 as the web page background.
  148.               </p>
  149.                 </li>
  150.               </ul>
  151.             </div>
  152.           </dd>
  153.           <dt>
  154.             <span class="term">Logos</span>
  155.           </dt>
  156.           <dd>
  157.             <a id="id2616117" class="indexterm"></a>
  158.             <a id="id2616131" class="indexterm"></a>
  159.             <p>
  160.             Here you will find all kinds of logo-generating scripts. This is
  161.             nice, but use it with care, as people might recognize your logo as
  162.             being made by a known GIMP script. You should rather regard it as
  163.             a base that you can modify to fit your needs. The dialog for
  164.             making a logo is more or less the same for all such scripts:
  165.           </p>
  166.             <div class="orderedlist">
  167.               <ol type="1">
  168.                 <li>
  169.                   <p>
  170.                 In the Text String field, type your logo name, like
  171.                 Frozenriver.
  172.               </p>
  173.                 </li>
  174.                 <li>
  175.                   <p>
  176.                 In the Font Size text field, type the size of your logo in
  177.                 pixels.
  178.               </p>
  179.                 </li>
  180.                 <li>
  181.                   <p>
  182.                 In the Font text field, type the name of the font that you
  183.                 want to use for your logo.
  184.               </p>
  185.                 </li>
  186.                 <li>
  187.                   <p>
  188.                 To choose the color of your logo, just click on the color
  189.                 button. This brings up a color dialog.
  190.               </p>
  191.                 </li>
  192.                 <li>
  193.                   <p>
  194.                 If you look at the current command field, you can watch the
  195.                 script run.
  196.               </p>
  197.                 </li>
  198.               </ol>
  199.             </div>
  200.           </dd>
  201.           <dt>
  202.             <span class="term">Make Buttons</span>
  203.           </dt>
  204.           <dd>
  205.             <a id="id2616231" class="indexterm"></a>
  206.             <a id="id2616245" class="indexterm"></a>
  207.             <p>
  208.             Under this headline you'll find two scripts that makes rectangular
  209.             beveled buttons, with or without round corners (Round Button or
  210.             Simple Beveled Button). They have a dozen parameters or so, and
  211.             most of them are similar to those in the logo scripts. You can
  212.             experiment with different settings to come up with a button you
  213.             like.
  214.           </p>
  215.           </dd>
  216.           <dt>
  217.             <span class="term">Misc.</span>
  218.           </dt>
  219.           <dd>
  220.             <p>
  221.             Under Misc. you'll find scripts that can be quite useful, but
  222.             aren't suitable for the other submenus. An example is the Sphere
  223.             script. You will have to set the radius in pixels to determine the
  224.             sphere size. The lighting angle is where at the sphere you point
  225.             the spotlight. This value also has an impact on the sphere shadow.
  226.             If you don't want a shadow, you just have remove the tick
  227.             on the "shadow" checkbox. The last thing you have to select is
  228.             background color, and the color of your sphere.
  229.           </p>
  230.           </dd>
  231.         </dl>
  232.       </div>
  233.     </div>
  234.     <div class="navfooter">
  235.       <hr />
  236.       <table width="100%" summary="Navigation footer">
  237.         <tr>
  238.           <td width="40%" align="left"><a accesskey="p" href="ch12s02s04.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  239.           <td width="20%" align="center">
  240.             <a accesskey="u" href="gimp-concepts-script-fu.html">
  241.               <img src="../images/up.png" alt="Up" />
  242.             </a>
  243.           </td>
  244.           <td width="40%" align="right">¬†<a accesskey="n" href="ch12s02s06.html"><img src="../images/next.png" alt="Next" /></a></td>
  245.         </tr>
  246.         <tr>
  247.           <td width="40%" align="left" valign="top"><a accesskey="p" href="ch12s02s04.html">2.4.¬†
  248.       <span lang="en" xml:lang="en">Different Kinds Of Script-Fus</span>
  249.     </a>¬†</td>
  250.           <td width="20%" align="center">
  251.             <a accesskey="h" href="index.html">
  252.               <img src="../images/home.png" alt="Home" />
  253.             </a>
  254.           </td>
  255.           <td width="40%" align="right" valign="top">¬†<a accesskey="n" href="ch12s02s06.html">2.6.¬†
  256.       <span lang="en" xml:lang="en">Image-Dependent Scripts</span>
  257.     </a></td>
  258.         </tr>
  259.       </table>
  260.     </div>
  261.   </body>
  262. </html>
  263.